package com.ls.cor.impl;

import java.util.List;

import com.ls.cor.itf.Filter;
import com.ls.cor.itf.FilterChain;

public class DemoFilter implements Filter{

	private String name;
	public DemoFilter(String name){
		this.name=name;
	}
	
	public void doFilter(List<String> param, FilterChain filterChain) {
		param.add("before add "+name);
		filterChain.doFilter(param);
		param.add("after add "+name);
	}

}
